﻿using System;
using System.ComponentModel;
using SL.IdentityModel.Services;

namespace IssueVision.Common
{
    public interface IAuthenticationModel : INotifyPropertyChanged
    {
        void SignInAsync(string userName, string password);
        event EventHandler<SignInEventArgs> SignInCompleted;
        void SignOutAsync();
        event EventHandler<SignOutEventArgs> SignOutCompleted;

        Boolean IsBusy { get; }
    }
}
